home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dtrid.z / dtrid
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDTTTTRRRRIIIIDDDD((((3333SSSS))))                                                            DDDDTTTTRRRRIIIIDDDD((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DTRID - compute the solution to a real system of linear equations A*x =
  10.      b, where A is an N-by-N tridiagonal matrix, and x and b are vectors of
  11.      length N
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DTRID( N, DL, D, DU, B )
  15.  
  16.          INTEGER       N
  17.  
  18.          DOUBLE PRECISION
  19.                        DL( * ), D( * ), DU( * ), B( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      DTRID computes the solution of a tridiagonal system of linear equations
  36.      A*x = b using a "burn-at-both-ends" algorithm.  NO PIVOTING FOR STABILITY
  37.      IS DONE.
  38.  
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      N       (input) INTEGER
  42.              The order of the matrix A.  N >= 0.
  43.  
  44.      DL      (input/output) DOUBLE PRECISION array, dimension (N-1)
  45.              On entry, the (N-1) subdiagonal elements of the tridiagonal
  46.              matrix A.  On exit, DL is overwritten.
  47.  
  48.      D       (input/output) DOUBLE PRECISION array, dimension (N)
  49.              On entry, the N diagonal elements of the tridiagonal matrix A.
  50.              On exit, D is overwritten.
  51.  
  52.      DU      (input/output) DOUBLE PRECISION array, dimension (N-1)
  53.              On entry, the (N-1) superdiagonal elements of the tridiagonal
  54.              matrix A.  On exit, DU is overwritten.
  55.  
  56.      B       (input/output) DOUBLE PRECISION array, dimension (N)
  57.              On entry, the N-element right hand side vector b.  On exit, the
  58.              N-element solution vector x.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDTTTTRRRRIIIIDDDD((((3333SSSS))))                                                            DDDDTTTTRRRRIIIIDDDD((((3333SSSS))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  76.  
  77.      This man page is available only online.
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.